﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucAddVideo.ascx.cs" Inherits="includes_uAddVideo" %>

<script>
  function checkTitle(txtTitle, txtDescription) {
        if (document.getElementById(txtTitle).value == '') {
            alert("Please give a title");
            return false;
        }
        if (document.getElementById(txtDescription).value == '') {
            alert("Please give a description");
            return false;
        }
        return true;
    }
</script>

               <div style="width: 500px;">
                     <%-- <asp:MultiView ID="ManufacturersMultiView" ActiveViewIndex="0" runat="server">
                            <asp:View ID="AddManufacturerView" runat="server">--%>
                           <table style= "width:500px"; >
                                    
                                    <tr>
                                        <td height="22" align="right" style="width:180px"> Paste Youtube Video URL here</td>
                                      <td style="padding-left:10PX ; height:30px" >
                                            <asp:TextBox ID="txtTag" runat="server" CssClass="form-txt" Style="width: 300px" Height="30px"
                                                ></asp:TextBox></td>
                                    </tr>
                                   <%-- <tr>
                                    
                                   <td height="22" align="right" style="width:180px;">
                                    </td>
                                    <td></td>
                                    </tr>--%>
                                   <%--  <tr>
                                        <td height="22" align="right" style="width:180px;">Brows
                                        </td>
                                       <td style="padding-left:10PX; height:30px"  >
                                        <asp:FileUpload ID="VideoUpload" runat="server"  Width="200px"/>
                                      </td>
                                    </tr>--%>
                                   
                                    <tr>
                                    
                                        <td height="22" align="right" style="width:180px;">Video Title
                                        </td>
                                        <td style="padding-left:10PX; height:30px"  >
                                            <asp:TextBox ID="txtTitle" runat="server" CssClass="form-txt" Style="width: 220px" Height="20px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td height="22" align="right" style="width:180px">Description </td>
                                      <td style="padding-left:10PX" >
                                            <asp:TextBox ID="txtDescription" runat="server" CssClass="form-txt" Style="width: 216px" Height="40px" TextMode="MultiLine"
                                                ></asp:TextBox></td>
                                    </tr>
                                   
                                   
                                     <tr>
                                   <td height="22" align="right" style="width:180px;">
                                    </td>
                                    <td></td>
                                    </tr>
                                     
                                    <tr>
                                    
                                       <td height="22" style="width:180px">&nbsp;</td>
                                        <td style="padding-left:5PX" >
                                          <asp:Button CssClass="buttonclass" ID="btnSubmit" runat="server"  Text="submit" 
                                                onclick="btnSubmit_Click"  />
                                            
                                               <%--<asp:Button CssClass="buttonclass" ID="Button1" runat="server"  Text="Cancel" OnClientClick= "javascript:window.close();"/>--%>
                                            
                                        </td>
                                    </tr>
                                 
                                </table>
                        <%--  </asp:View>
                          </asp:MultiView>--%>
                       </div>
